<?php


namespace frontend\models;

use yii\base\Model;

class EntryForm extends Model
{

    public $name;
    public $email;

    public function rules()
    {
        return [
          [['name', 'email'], 'required'],
          ['email', 'email']
        ];
    }









}